package com.iplatform.module.privilege;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>Title: PriGroupBean</p>
 * <p>Description: </p>
 *
 * @author fsl
 * @data 2020/09/30
 */
@Data
@ApiModel()
public class PriGroupBean  implements Serializable {

    @ApiModelProperty(value="groupId")
    private String groupId;

    @ApiModelProperty(value = "权限组名称", dataType="String")
    @NotNull(message = "权限组名称不能为空")
    private String groupName;

    @ApiModelProperty(value = "权限组编码", dataType="String")
    @NotNull(message = "权限组编码不能为空")
    private String groupCode;

    @ApiModelProperty(value = "描述", dataType="String")
    private String remark;

    @ApiModelProperty(value = "创建人",hidden = true)
    private String createdBy;

    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createdDt;

    @ApiModelProperty(value = "更新人",hidden = true)
    private String updatedBy;

    @ApiModelProperty(value = "更新时间",hidden = true)
    private Date updatedDt;

    @ApiModelProperty(value = "排序码")
    private Integer sortNum;

    @ApiModelProperty(value = "版本号", hidden=true, example="1")
    private Long version;

    @ApiModelProperty(value = "删除标识")
    private Boolean isDeleted;

}
